import {createApp} from 'vue'
import App from './App.vue'
import './style.css';
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { faPlus, faPlay, faPause, faTrash, faDownload, faCheckDouble, faUpDown, faQuestion, faHourglassStart, faCheck, faGear, faGears, faSliders } from '@fortawesome/free-solid-svg-icons'

library.add(faPlus, faPlay, faPause, faTrash, faDownload, faCheckDouble, faUpDown, faQuestion, faHourglassStart, faCheck, faGear, faGears, faSliders)

// createApp(App).mount('#app')
const app = createApp(App)
// 注册 FontAwesomeIcon 组件
app.component('FontAwesomeIcon', FontAwesomeIcon)
app.mount('#app')